package io.jpress.core.flowable;

public class DelegateInfo {

    private String className;
    private String title;
    private String type;
    private int order;

    public DelegateInfo(Class<?> delegateClass, AutoLoadServiceTaskDelegate annotation) {
        this.className = delegateClass.getName();
        this.title = annotation.title();
        this.type = annotation.type();
        this.order = annotation.order();
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }
}
